package com.hlhj.funlike_businessqzxd.bean;

import java.util.List;

public class FoodListBean {

    /**
     * code : 1
     * msg : 请求成功
     * data : {"total":17,"per_page":10,"current_page":1,"last_page":2,"data":[{"id":66,"goods_name":"珍珠米饭1份","discount_price":"1.00","photo":"http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg","is_specifications":1,"sell_num":4,"status":1,"describe":"精选东北珍珠米焖煮出的珍珠米饭，白糯鲜香，给你满满的满足","this_price":"1.00","attr":[]}],"page":[]}
     */

    private int code;
    private String msg;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 17
         * per_page : 10
         * current_page : 1
         * last_page : 2
         * data : [{"id":66,"goods_name":"珍珠米饭1份","discount_price":"1.00","photo":"http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg","is_specifications":1,"sell_num":4,"status":1,"describe":"精选东北珍珠米焖煮出的珍珠米饭，白糯鲜香，给你满满的满足","this_price":"1.00","attr":[]}]
         * page : []
         */

        private int total;
        private int per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;
        private List<?> page;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public List<?> getPage() {
            return page;
        }

        public void setPage(List<?> page) {
            this.page = page;
        }

        public static class DataBean {
            /**
             * id : 66
             * goods_name : 珍珠米饭1份
             * discount_price : 1.00
             * photo : http://waimai.wufenhuyu.com/upload/goods/20190102/a28f9ef72cda48d11631650856ce0031.jpg
             * is_specifications : 1
             * sell_num : 4
             * status : 1
             * describe : 精选东北珍珠米焖煮出的珍珠米饭，白糯鲜香，给你满满的满足
             * this_price : 1.00
             * attr : []
             *
             */
            private int type_id;
            private int id;
            private String goods_name;
            private String discount_price;
            private String photo;
            private int is_specifications;
            private int sell_num;
            private int status;
            private String describe;
            private String this_price;
            private String stock;

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            private List<Attr> attr;

            public int getType_id() {
                return type_id;
            }

            public void setType_id(int type_id) {
                this.type_id = type_id;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getDiscount_price() {
                return discount_price;
            }

            public void setDiscount_price(String discount_price) {
                this.discount_price = discount_price;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public int getIs_specifications() {
                return is_specifications;
            }

            public void setIs_specifications(int is_specifications) {
                this.is_specifications = is_specifications;
            }

            public int getSell_num() {
                return sell_num;
            }

            public void setSell_num(int sell_num) {
                this.sell_num = sell_num;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getDescribe() {
                return describe;
            }

            public void setDescribe(String describe) {
                this.describe = describe;
            }

            public String getThis_price() {
                return this_price;
            }

            public void setThis_price(String this_price) {
                this.this_price = this_price;
            }

            public List<Attr> getAttr() {
                return attr;
            }

            public void setAttr(List<Attr> attr) {
                this.attr = attr;
            }

            public class Attr{
                public String getAttr_name() {
                    return attr_name;
                }

                public void setAttr_name(String attr_name) {
                    this.attr_name = attr_name;
                }

                private String attr_name;
            }
        }
    }
}
